package ljt;

public class Course{
private int id;
 private Object Coursename;
 private String place;
 private float floor;


 public Course(String Crousename, int id, String place, int floor) {
  this.id = id;
  this.Coursename = "basketball";
        this.place = place;
        this.floor = floor;
    }
public String toString() {
        return Coursename + "(课程名)" + "     课程编号：" + id + "   上课地点：" + place
                + "    楼层：" + floor + "f";
    } 
 

 public static void main(String[] args) {
     Student me = new Student(2021310799, "刘俊彤", "男");
     System.out.println("学生信息");
     System.out.println(me);
     Teacher b = new Teacher(27, "李四", "男", "数学");
     System.out.println("教师信息");
     System.out.println(b);
     Course c = new Course("数学", 27, "教学楼103", 1);
     System.out.println("课程信息");
     System.out.println(c);
     me.tuike();
     me.delete();
 
 }
}